<template>
    <a-tabs v-model:activeKey="activeKey" tabPosition='top'>
        <a-tab-pane key="info" tab="基本信息">
            <page-info></page-info>
        </a-tab-pane>
        <template #renderTabBar="{ DefaultTabBar, ...props }">
            <component :is="DefaultTabBar" v-bind="props" :style="{ zIndex: 1, background: '#fff', textAlign: 'left' }"/>
        </template>
    </a-tabs>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
import pageInfo from "./info.vue"

export default defineComponent({
    setup() {
        return {
            activeKey: ref('info'),
        };
    },
    components: {
        pageInfo
    },
});
</script>